<?php

namespace Pocker\PockerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PkRoom
 *
 * @ORM\Table(name="pk_room")
 * @ORM\Entity(repositoryClass="Pocker\PockerBundle\Repository\PkRoomRepository")
 */
class PkRoom
{
    /**
     * @var integer
     *
     * @ORM\Column(name="room_id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $roomId;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=256, nullable=false)
     */
    private $name;

    /**
     * @var integer
     *
     * @ORM\Column(name="collection_id", type="integer", nullable=false)
     */
    private $collectionId;

    /**
     * @var string
     *
     * @ORM\Column(name="cards_shuffle", type="text", nullable=true)
     */
    private $cardsShuffle;

    /**
     * @var boolean
     *
     * @ORM\Column(name="del_flg", type="boolean", nullable=false)
     */
    private $delFlg = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="update_datetime", type="datetime", nullable=false)
     */
    private $updateDatetime;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="insert_datetime", type="datetime", nullable=false)
     */
    private $insertDatetime;



    /**
     * Get roomId
     *
     * @return integer 
     */
    public function getRoomId()
    {
        return $this->roomId;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return PkRoom
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set collectionId
     *
     * @param integer $collectionId
     * @return PkRoom
     */
    public function setCollectionId($collectionId)
    {
        $this->collectionId = $collectionId;

        return $this;
    }

    /**
     * Get collectionId
     *
     * @return integer 
     */
    public function getCollectionId()
    {
        return $this->collectionId;
    }

    /**
     * Set cardsShuffle
     *
     * @param string $cardsShuffle
     * @return PkRoom
     */
    public function setCardsShuffle($cardsShuffle)
    {
        $this->cardsShuffle = $cardsShuffle;

        return $this;
    }

    /**
     * Get cardsShuffle
     *
     * @return string 
     */
    public function getCardsShuffle()
    {
        return $this->cardsShuffle;
    }

    /**
     * Set delFlg
     *
     * @param boolean $delFlg
     * @return PkRoom
     */
    public function setDelFlg($delFlg)
    {
        $this->delFlg = $delFlg;

        return $this;
    }

    /**
     * Get delFlg
     *
     * @return boolean 
     */
    public function getDelFlg()
    {
        return $this->delFlg;
    }

    /**
     * Set updateDatetime
     *
     * @param \DateTime $updateDatetime
     * @return PkRoom
     */
    public function setUpdateDatetime($updateDatetime)
    {
        $this->updateDatetime = $updateDatetime;

        return $this;
    }

    /**
     * Get updateDatetime
     *
     * @return \DateTime 
     */
    public function getUpdateDatetime()
    {
        return $this->updateDatetime;
    }

    /**
     * Set insertDatetime
     *
     * @param \DateTime $insertDatetime
     * @return PkRoom
     */
    public function setInsertDatetime($insertDatetime)
    {
        $this->insertDatetime = $insertDatetime;

        return $this;
    }

    /**
     * Get insertDatetime
     *
     * @return \DateTime 
     */
    public function getInsertDatetime()
    {
        return $this->insertDatetime;
    }
}
